package com.admin.vo;

import java.sql.Time;
import com.admin.vo.contract.IVisitCustomerVO;

public class VisitCustomerVO implements IVisitCustomerVO {

	// 主键
	private Integer id;
	
	// 用户id
	private Integer userId;

	// 日期

	private Long day;
	// 时间

	private Time time;
	// 公司名称

	private String companyName;
	// 公司地址

	private String companyAddress;

	private Integer adminId;
	
	/**
	 * 员工姓名
	 */
	public String userName;

	// 地址状态 0 正常 1 异常

	private Byte addressStatus;
	
	
	/**
	 * 经度（客户的）
	 */
	private Double latitude;
	
	/**
	 * 纬度 （客户的）
	 */
	private Double longitude;
	
	/**
	 * 经度（员工的）
	 */
	private Double meLatitude;
	
	/**
	 * 纬度 （员工的）
	 */
	private Double meLongitude;
	
	/**
	 * 员工 ----> 客户的距离
	 */
	private Double distance;
	
	/**
	 * 员工 ----> 客户的时间秒
	 */
	private Integer duration;
	
	/**
	 * 公司所在城市
	 */
	private String city;
	
	private Integer areaId;
	
	/**
	 * 是否指派 0 否  1 是
	 */
	private Integer assignPersonnel = 0;
	

	// 0 全天 1 上午 2 下午 3全天

	private Byte assignTime;
	
	/**
	 * 
	 */
	private Byte type;
	
	
	private Integer cityId;
	
	private Integer countiesId;
	
	private String areaName;
	
	
	private String countiesName;
	
	/**
	 * 探马 客户id
	 */
	private Long customerId;
	
	/**
	 * 主负责人
	 */
	private String qwSalesld ;
	
	
	/**
	 * 转移后的目标员工
	 */
	private String handoverToUserid;
	
	/**
	 * 时间冲突 0 否 1 是
	 */
	private byte conflictTime = 0;
	
	
	

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public String getQwSalesld() {
		return qwSalesld;
	}

	public void setQwSalesld(String qwSalesld) {
		this.qwSalesld = qwSalesld;
	}

	public String getHandoverToUserid() {
		return handoverToUserid;
	}

	public void setHandoverToUserid(String handoverToUserid) {
		this.handoverToUserid = handoverToUserid;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getCountiesId() {
		return countiesId;
	}

	public void setCountiesId(Integer countiesId) {
		this.countiesId = countiesId;
	}


	public String getCountiesName() {
		return countiesName;
	}

	public void setCountiesName(String countiesName) {
		this.countiesName = countiesName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Long getDay() {
		return day;
	}

	public void setDay(Long day) {
		this.day = day;
	}

	public Time getTime() {
		return time;
	}

	public void setTime(Time time) {
		this.time = time;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName == null ? null : companyName.trim();
	}

	public String getCompanyAddress() {
		return companyAddress;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress == null ? null : companyAddress.trim();
	}

	/**
	 * 是否指派 0 否  1 是
	 */
	public Integer getAssignPersonnel() {
		return assignPersonnel;
	}

	/**
	 * 是否指派 0 否  1 是
	 */
	public void setAssignPersonnel(Integer assignPersonnel) {
		this.assignPersonnel = assignPersonnel;
	}

	public Byte getAssignTime() {
		return assignTime;
	}

	public void setAssignTime(Byte assignTime) {
		this.assignTime = assignTime;
	}

	public Byte getAddressStatus() {
		return addressStatus;
	}

	public void setAddressStatus(Byte addressStatus) {
		this.addressStatus = addressStatus;
	}

//	public Integer getDistanceFromHomeToCompany() {
//		return distanceFromHomeToCompany;
//	}
//
//	public void setDistanceFromHomeToCompany(Integer distanceFromHomeToCompany) {
//		this.distanceFromHomeToCompany = distanceFromHomeToCompany;
//	}

	public Double getLatitude() {
		return latitude;
	}

	
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	public Double getMeLatitude() {
		return meLatitude;
	}

	public void setMeLatitude(Double meLatitude) {
		this.meLatitude = meLatitude;
	}

	public Double getMeLongitude() {
		return meLongitude;
	}

	public void setMeLongitude(Double meLongitude) {
		this.meLongitude = meLongitude;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public Byte getType() {
		return type;
	}

	public void setType(Byte type) {
		this.type = type;
	}

	public byte getConflictTime() {
		return conflictTime;
	}

	public void setConflictTime(byte conflictTime) {
		this.conflictTime = conflictTime;
	}

	@Override
	public String toString() {
		return "VisitCustomerVO [id=" + id + ", userId=" + userId + ", day=" + day + ", time=" + time + ", companyName="
				+ companyName + ", companyAddress=" + companyAddress + ", adminId=" + adminId + ", userName=" + userName
				+ ", addressStatus=" + addressStatus + ", latitude=" + latitude + ", longitude=" + longitude
				+ ", meLatitude=" + meLatitude + ", meLongitude=" + meLongitude + ", distance=" + distance
				+ ", duration=" + duration + ", city=" + city + ", assignPersonnel=" + assignPersonnel + ", assignTime="
				+ assignTime + ", type=" + type + ", conflictTime=" + conflictTime + ", distanceFromHomeToCompany="
				+ areaId + "]";
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}
}